package com.huatai.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Lion
 * @date 2024/4/7  10:40
 */
@Data
@TableName("tb_model")
@ApiModel("模型信息")
public class ModelEntity extends BaseEntity{

	@TableField("modelName")
	@ApiModelProperty("模型名称")
	private String modelName;

	@TableField("modelVersion")
	@ApiModelProperty("模型型号")
	private String modelVersion;

	@TableField("modelSpecification")
	@ApiModelProperty("模型尺寸")
	private String modelSpecification;

	@TableField("maxSpeed")
	@ApiModelProperty("最大速度")
	private String maxSpeed;

	@TableField("tonnage")
	@ApiModelProperty("排水量")
	private String tonnage;

	@TableField("affiliatedUnit")
	@ApiModelProperty("所属单位")
	private String affiliatedUnit;

	@TableField("fbxFile")
	@ApiModelProperty("fbx文件")
	private String fbxFile;

	@TableField("fbx_file_type")
	@ApiModelProperty("fbx文件文件类型")
	private String fbxFileType;

	@TableField("fbxFileSize")
	@ApiModelProperty("fbx文件大小")
	private Long fbxFileSize;

	@TableField("diffuseMap")
	@ApiModelProperty("漫反射贴图")
	private String diffuseMap;

	@TableField("mirrorMap")
	@ApiModelProperty("镜面贴图")
	private String mirrorMap;

	@TableField("normalMap")
	@ApiModelProperty("法线贴图")
	private String normalMap;

	@TableField("masterMap")
	@ApiModelProperty("高清原图")
	private String masterMap;

	@TableField("simpleMap")
	@ApiModelProperty("简模图片")
	private String simpleMap;

	@ApiModelProperty("分类")
	@TableField("type_key")
	private String typeKey;

	@ApiModelProperty("用途")
	@TableField("use_key")
	private String useKey;

	@ApiModelProperty("模型类型1贴图模型2多图模型")
	@TableField("model_type")
	private Integer modelType;

	@ApiModelProperty("压缩文件路径")
	@TableField("zip_file")
	private String zipFile;

	@ApiModelProperty("行业")
	@TableField("industry_key")
	private String industryKey;

	@ApiModelProperty("模型尺寸单位")
	@TableField("modelSpecification_unit")
	private String modelSpecificationUnit;

	@ApiModelProperty("最大速度单位")
	@TableField("maxSpeed_unit")
	private String maxSpeedUnit;

	@ApiModelProperty("排水量单位")
	@TableField("tonnage_unit")
	private String tonnageUnit;

	@ApiModelProperty(value = "删除标志",hidden = true)
	@TableField("is_delete")
	@TableLogic
	private boolean isDelete;

	@ApiModelProperty("备注说明")
	@TableField("remark")
	private String remark;

	@TableField(exist = false)
	@ApiModelProperty("fbx文件预览路径")
	private String fbxFileyl;

	@TableField(exist = false)
	@ApiModelProperty("源文件下载")
	private String zipFileXz;

	@TableField(exist = false)
	@ApiModelProperty("漫反射贴图预览路径")
	private String diffuseMapyl;

	@TableField(exist = false)
	@ApiModelProperty("镜面贴图预览路径")
	private String mirrorMapyl;

	@TableField(exist = false)
	@ApiModelProperty("法线贴图预览路径")
	private String normalMapyl;

	@TableField(exist = false)
	@ApiModelProperty("高清原图预览路径")
	private String masterMapyl;

	@TableField(exist = false)
	@ApiModelProperty("简模图片预览路径")
	private String simpleMapyl;

	@TableField(value = "price")
	@ApiModelProperty("价格")
	private BigDecimal price;

	@ApiModelProperty("行业名称")
	@TableField(exist = false)
	private String industryKeyName;
}
